package com.dongdong.service;

import com.dongdong.pojo.*;

import java.util.List;

public interface AddressService {
    List<TbAddress> getAddress(String username);


    void insertAddress(TbAddress address);

    void deleteAddress(Long id);

    void isDefault(String username, Long id);

    TbOrder getReceiver(Long addressId, TbOrder order);
}
